package com.syq.play.model;
/**
 * 歌曲文件数据模型
 * @author ShiYiqiong
 *
 */
public class MediaModel {
	/**歌曲ID*/
	private int mediaId;
	/**歌曲标题*/
	private String mediaTitle;
	/**歌曲专辑*/
	private String mediaAlbum;
	/**歌曲歌手名*/
	private String mediaArtist;
	/**歌曲文件路径*/
	private String mediaData;
	/**歌曲总播放时长*/
	private String mediaDuration;
	/**歌曲文件大小*/
	private long mediaSize;
	/**播放次数*/
	private long playCount;
	/**播放时间*/
	private long playTime=-1;
	
	public void setMediaId(int mediaId){
		this.mediaId=mediaId;
	}
	public void setMediaTitle(String mediaTitle){
		this.mediaTitle=mediaTitle;
	}
	public void setMediaAlbum(String mediaAlbum){
		this.mediaAlbum=mediaAlbum;
	}
	public void setMediaArtist(String mediaArtist){
		this.mediaArtist=mediaArtist;
	}
	public void setMediaData(String mediaData){
		this.mediaData=mediaData;
	}
	public void setMediaDuration(String mediaDuration){
		this.mediaDuration=mediaDuration;
	}
	public void setMediaSize(long mediaSize){
		this.mediaSize=mediaSize;
	}
	public void setPlayCount(long playCount){
		this.playCount=playCount;
	}
	public void setPlayTime(long playTime){
		this.playTime=playTime;
	}
	public int getMediaId(){
		return mediaId;
	}
	public String getMediaTitle(){
		return mediaTitle;
	}
	public String getMediaAlbum(){
		return mediaAlbum;
	}
	public String getMediaArtist(){
		return mediaArtist;
	}
	public String getMediaData(){
		return mediaData;
	}
	public String getMediaDuration(){
		return mediaDuration;
	}
	public long getMediaSize(){
		return mediaSize;
	}
	public long getPlayCount(){
		return playCount;
	}
	public long getPlayTime(){
		return playTime;
	}
	
	@Override
	public String toString() {
		return "歌曲ID："+mediaId+", 歌曲标题:"+mediaTitle+", 歌曲专辑:"
					+mediaAlbum+", 歌曲歌手名:"+mediaArtist+", 歌曲文件路径:"
					+mediaData+", 歌曲总播放时长:"+mediaDuration+", 歌曲文件大小："
					+mediaSize+", 播放次数："+playCount+", 播放时间："+playTime;
	}

}
